package com.xlh.support.attendance.po;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author cheer
 */
@ApiModel("考勤旷课记录")
@Data
public class AttendanceRecordPO {

    @NotNull(message = "课程Id不能为空")
    private Long courseId;

    @NotNull(message = "班级Id不能为空")
    private Long classId;

    @NotNull(message = "用户Id不能为空")
    private Long userId;

    @NotNull(message = "旷课次数不能为空")
    private Integer absentCount;
}
